<?php
namespace Home\Model;

class OrderInfoModel extends \Common\Model\CommonModel{
    protected $_link = array(
        'order_goods' =>array(
            'mapping_type'=>self::HAS_MANY,
            'class_name'=>'OrderGoods',
            'foreign_key'=>'order_id',
            'mapping_key'=>'order_id',
            'mapping_order'=>'rec_id asc'
        ),
    );
}